<template>
	<view class="content">
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url:'', //文章的链接
			}
		},
		onLoad(option) {
			// console.log(option);
			if(option.url != null  || option.url != undefined){
				this.url = option.url;
			}
		},
		methods: {
			
		}
	}
</script>

<style>
page {
	background-color: #FAFAFA;
}

.content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
</style>
